<%@include file="/WEB-INF/common/taglibs.jsp"%>
<script src="/ckeditor/ckeditor.js"></script>
<script type="text/javascript" src="/ckfinder/ckfinder.js"></script>
<script type="text/javascript" src="${supr}/js/supr-theme/jquery-ui-timepicker-addon.js"></script>
<script type="text/javascript" src="${ctx}/resources/js/datatable-query.js"></script>
<script>
	
	
</script>
 

 
 <div class="row-fluid">
                   	<form class="form-horizontal seperator" method="post">
                        <div class="span12">
                            <div class="box gradient">
                            <div class="title">
                                <h4>
									<span class="icon16 icomoon-icon-equalizer-2"></span>
									<span>Category </span>
 
								</h4>
								<a href="#" class="minimize">Minimize</a>
                            </div>
                            
                            <div class="content">
                                <ul id="myTab" class="nav nav-tabs pattern">
                                    <li class="active"><a href="#general" data-toggle="tab">General</a></li>
                                    <li><a href="#meta" data-toggle="tab">Data</a></li> 
									<li><a href="#write" data-toggle="tab">Content</a></li> 
                                </ul>


                                <div class="tab-content tab-content-no-border">
                                    <div class="tab-pane fade in active" id="general">
                                     <div class="span12">
<!--title --><div class="form-row row-fluid"><div class="span12"><div class="row-fluid"><label class="form-label span3" for="title">Title :</label><input class="span4" id="title" name="title"   type="text" value="<c:out value="${entity.title }"></c:out>" /></div></div></div>
<!--recommended --><div class="form-row row-fluid"><div class="span12"><div class="row-fluid"><label class="form-label span3" for="recommended">Recommended :</label><div class="left marginT5 marginR10"><div class="radio" id="uniform-recommended1"><span class="<c:if test="${entity.recommended }">checked</c:if>"><input type="radio" name="recommended" id="recommended1" value="true" <c:if test="${entity.recommended}">checked="checked"</c:if> style="opacity: 0;"></span></div>True</div><div class="left marginT5 marginR10"><div class="radio" id="uniform-recommended2"><span class="<c:if test="${!entity.recommended}">checked</c:if>"><input type="radio" <c:if test="${!entity.recommended}">checked="checked"</c:if>name="recommended" id="recommended2" value="false" style="opacity: 0;"></span></div>False</div></div></div></div>
<!--picURL --><div class="form-row row-fluid"><div class="span12"><div class="row-fluid"><label class="form-label span3" for="picURL">PicURL :</label><input class="span4 ckfile" id="picURL" name="picURL"   type="text" value="${entity.picURL}" /></div></div></div>
<!--active --><div class="form-row row-fluid"><div class="span12"><div class="row-fluid"><label class="form-label span3" for="active">Active :</label><div class="left marginT5 marginR10"><div class="radio" id="uniform-active1"><span class="<c:if test="${entity.active }">checked</c:if>"><input type="radio" name="active" id="active1" value="true" <c:if test="${entity.active}">checked="checked"</c:if> style="opacity: 0;"></span></div>True</div><div class="left marginT5 marginR10"><div class="radio" id="uniform-active2"><span class="<c:if test="${!entity.active}">checked</c:if>"><input type="radio" <c:if test="${!entity.active}">checked="checked"</c:if>name="active" id="active2" value="false" style="opacity: 0;"></span></div>False</div></div></div></div>
<!--coverURL --><div class="form-row row-fluid"><div class="span12"><div class="row-fluid"><label class="form-label span3" for="coverURL">CoverURL :</label><input class="span4 ckfile" id="coverURL" name="coverURL"   type="text" value="${entity.coverURL}" /></div></div></div>
<!--keyUrl --><div class="form-row row-fluid"><div class="span12"><div class="row-fluid"><label class="form-label span3" for="keyUrl">KeyUrl :</label><input class="span4" id="keyUrl" name="keyUrl"   type="text" value="${entity.keyUrl}" /></div></div></div>
<!--linking --><div class="form-row row-fluid"><div class="span12"><div class="row-fluid"><label class="form-label span3" for="linking">Linking :</label><div class="left marginT5 marginR10"><div class="radio" id="uniform-linking1"><span class="<c:if test="${entity.linking }">checked</c:if>"><input type="radio" name="linking" id="linking1" value="true" <c:if test="${entity.linking}">checked="checked"</c:if> style="opacity: 0;"></span></div>True</div><div class="left marginT5 marginR10"><div class="radio" id="uniform-linking2"><span class="<c:if test="${!entity.linking}">checked</c:if>"><input type="radio" <c:if test="${!entity.linking}">checked="checked"</c:if>name="linking" id="linking2" value="false" style="opacity: 0;"></span></div>False</div></div></div></div>
<!--attachmentUrl --><div class="form-row row-fluid"><div class="span12"><div class="row-fluid"><label class="form-label span3" for="attachmentUrl">Attachment Url :</label><input class="span4 ckfile" id="attachmentUrl" name="attachmentUrl"   type="text" value="${entity.attachmentUrl}" /></div></div></div>




</div>
                                       
                                       
                                    </div>
  <div class="tab-pane fade" id="meta">
<!--title --><div class="form-row row-fluid"><div class="span12"><div class="row-fluid"><label class="form-label span3" for="title">Title :</label><input class="span4" id="metaInfo.title" name="metaInfo.title"   type="text" value="${entity.metaInfo.title}" /></div></div></div>
<!--metaKeywords --><div class="form-row row-fluid"><div class="span12"><div class="row-fluid"><label class="form-label span3" for="metaKeywords">Meta Keywords :</label><input class="span4" id="metaKeywords" name="metaInfo.metaKeywords"   type="text" value="${entity.metaInfo.metaKeywords}" /></div></div></div>
<!--metaTitle --><div class="form-row row-fluid"><div class="span12"><div class="row-fluid"><label class="form-label span3" for="metaTitle">Meta Title :</label><input class="span4" id="metaTitle" name="metaInfo.metaTitle"   type="text" value="${entity.metaInfo.metaTitle}" /></div></div></div>
<!--metaDescription --><div class="form-row row-fluid"><div class="span12"><div class="row-fluid"><label class="form-label span3" for="metaDescription">Meta Description :</label><input class="span4" id="metaDescription" name="metaInfo.metaDescription"   type="text" value="${entity.metaInfo.metaDescription}" /></div></div></div>
<!--metaOg --><div class="form-row row-fluid"><div class="span12"><div class="row-fluid"><label class="form-label span3" for="metaOg">Meta Og :</label><textarea name="metaInfo.metaOg" class="span4 limit elastic" id="metaOg" rows="3" cols="5">${entity.metaInfo.metaOg}</textarea></div></div></div>

                                     </div>
                                    <div class="tab-pane fade" id="write">
									<div class="span12">
			<!--summary --><div class="form-row row-fluid"><div class="span12"><div class="row-fluid"><label class="form-label span3" for="summary">Summary :</label><textarea name="summary" class="span4 ckeditor" id="summary" rows="3" cols="5"><c:out value="${entity.summary}"></c:out></textarea></div></div></div>
			<!--content --><div class="form-row row-fluid"><div class="span12"><div class="row-fluid"><label class="form-label span3" for="content">content :</label><textarea name="content" class="span4 ckeditor" id="content" rows="3" cols="5"><c:out value="${entity.content}"></c:out></textarea></div></div></div>
                                </div>
							</div>
								</div>
                 </div>  <div class="form-row row-fluid">
				<div class="span12">
					<div class="row-fluid">
						<div class="form-actions">
							<div class="span3"></div>
							<div class="span4 controls">
								<button type="submit" class="btn btn-info marginR10">Save
									changes</button>
 							</div>
						</div>
					</div>
				</div>
			</div>
 							</div>
 							
                        </div><!-- End .span6 -->  
 </form>
                    </div><!-- End .row-fluid -->
                    
                    
<script>
var meta_type="category";
</script>             
   		      <c:set var="showName" value="true" />
<%@include file="../meta/meta.jsp" %>